package com.usian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.entity.Com;
import com.usian.entity.ComDTO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/8/23 21:13
 */


public interface ComMapper extends BaseMapper<Com> {
    @Select("select count(*) from com")
    Integer findAllCom();

    List<Com> findAll(ComDTO comDTO);
}
